package com.ry.servcie;

import com.ry.pojo.Address;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;
@Service
public class TestAddressImpl implements TestAddress {
    @Override
    public List<Address> getAddrList() {
        List<Address> list = new ArrayList<>();
        list.add(new Address(100L,"收货人1",1313231231,"地址1"));
        list.add(new Address(200L,"收货人2",1313231231,"地址2"));
        list.add(new Address(300L,"收货人3",1313231231,"地址3"));
        list.add(new Address(400L,"收货人4",1313231231,"地址4"));

        return list;
    }
}
